﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EmpInsuranceBatch.aspx.cs"
    Inherits="Employees_EmpInsuranceBatch" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../StyleSheet.css" rel="stylesheet" type="text/css" />
    <style>
        .roundbtn
        {
            display: inline-block;
            height: 22px;
            line-height: 22px;
            background: url(../Image/UI/btnall.png) right 0 no-repeat;
            padding: 0 5px 0 0;
        }
        .roundbtn a
        {
            display: inline-block;
            height: 22px;
            background: url(../Image/UI/btnall.png) left -22px no-repeat;
            padding: 0 3px 0 8px;
            outline: none;
            text-decoration: none;
            color: Black;
        }
        /*revised*/.roundbtn a:hover
        {
            text-decoration: none;
            color: #CC3030;
        }
        .roundbtn input.select
        {
            background-position: left -44px;
            width: 18px;
            text-indent: -9999px;
            padding: 0;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align: left; width: 250px;">
        <table cellpadding="5" width="100%">
            <tr>
                <td style="text-align:left">
                    保险类别：<infolight:webdropdownlist runat="server" id="wgvType" autoinsertemptydata="False"
                        datasourceid="wdsType" datatextfield="TypeName" datavaluefield="TypeId" driverobject=""
                        filter="" filterobject="" onlyshowselecttext="False" autopostback="True" onselectedindexchanged="wgvType_SelectedIndexChanged"
                        ondatabound="wgvType_DataBound">
                    </infolight:webdropdownlist>
                </td>
            </tr>
        </table>
        <table cellpadding="5" runat="server" id="tb" visible="false" width="100%">
            <tr>
                <td>
                    原保险：
                    <asp:DropDownList ID="ddlOld" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td style="color: #FF0000">
                    替换为
                </td>
            </tr>
            <tr>
                <td>
                    新保险：
                    <asp:DropDownList ID="ddlNew" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td colspan="3" style="text-align: center">
                    <span class="roundbtn">
                        <asp:LinkButton ID="LinkButton2" runat="server" Text="&nbsp;&nbsp;&nbsp;&nbsp;确&nbsp;&nbsp;认&nbsp;&nbsp;替&nbsp;&nbsp;换&nbsp;&nbsp;&nbsp;&nbsp;"
                            OnClientClick="return confirm('确认替换？')" onclick="LinkButton2_Click"></asp:LinkButton>
                    </span>
                </td>
            </tr>
        </table>
    </div>
    <infolight:webdatasource id="wdsType" runat="server" selectalias="Usasdb" selectcommand="select InsuranceType.TypeId,InsuranceType.TypeName from InsuranceType where TypeStatus=1">
    </infolight:webdatasource>
    </form>
</body>
</html>
